Atum\PurchaseOrders\PurchaseOrders C

Total Complexity 116
Dependencies 9
Dependents 16
Total lines 1,077
Lines of code 454
Logical lines of code 207
Comment lines 379
Methods 35
Properties 6

Methods 35

Method Rating Maintainability Complexity Lines of code
change_stock_levels()
A
43 12 46
save_meta_boxes()
A
48 13 29
render_columns()
S
53 7 23
generate_po_pdf()
S
59 7 12
use_purchase_price()
S
54 6 20
filter_po_unknown_status()
S
53 5 20
__construct()
S
43 3 47
maybe_decrease_stock_levels()
S
64 6 9
po_search()
S
48 3 37
maybe_show_admin_notice()
S
63 5 9
request_query()
S
60 4 13
maybe_add_unknown_view()
S
64 4 8
product_search_message()
S
64 4 9
add_generate_pdf()
S
59 3 14
add_help_tab()
S
60 3 13
post_updated_messages()
S
54 2 18
get_instance()
S
70 3 6
set_purchase_price_button()
S
67 3 8
maybe_increase_stock_levels()
S
70 3 6
get_current_atum_order()
S
69 3 6
show_data_meta_box()
S
60 2 12
get_pdf_generation_link()
S
67 2 7
add_columns()
S
60 1 13
search_fields()
S
79 1 3
get_statuses()
S
64 1 9
add_stock_button()
S
75 1 5
get_due_statuses()
S
77 1 3
add_item_order()
S
69 1 7
add_admin_bar_link()
S
65 1 9
help_tabs_content()
S
79 1 3
bulk_post_updated_messages()
S
62 1 10
sortable_columns()
S
73 1 5
__clone()
S
78 1 3
__sleep()
S
78 1 3
get_status_colors()
S
65 1 9